Adam Richardson's Site

Android Notes

Table of Contents

<2022-07-18 Mon>

Open Settings with adb

Using am

adb shell am start -a android.settings.SETTINGS

Record the Screen on an Android Device

Starting the Recording

adb shell screenrecord /sdcard/<MY_VIDEO>.mp4

Pulling the Recording

adb pull /sdcard/<MY_VIDEO>.mp4

Take a Screenshot of an Attached Android Device

adb exec-out screencap -p > <SCREENSHOT_NAME>.png

View Partition Information

adb shell cat /proc/partitions

Make System Partition Re-writable

adb root
adb remount

Stop a Running App